package com.dream21th.generate.enums;

public enum TemplateEnum {

	ENTITY("entity.ftl","实体","java"),
	MAPPER("mapper.ftl","数据库操作接口","java"),
	CONTROLLER("controller.ftl","服务视图层","java"),
	SERVICE("service.ftl","服务接口","java"),
	SERVICEIMPL("serviceImpl.ftl","服务实现类","java"),
	DTO("dto.ftl","业务类","java"),
	MAPPERXML("mapperXml.ftl","生成数据库mapper.xml","xml"),
	VUE("vue.ftl","主页面","vue"),
	VUEADD("vueAdd.ftl","新增页面","vue"),
	VUEAPI("vueapi.ftl","js代码","js"),
	;

	private final String code;

	private final String name;

	private final String suffix;

	TemplateEnum(String code, String name,String suffix) {
		this.code = code;
		this.name = name;
		this.suffix=suffix;
	}

	public String getCode() {
		return code;
	}

	public String getName() {
		return name;
	}

	public String getSuffix(){
		return suffix;
	}
}
